#ifndef __LED_H__
#define __LED_H__
//导入头文件
#include <REGX52.H>
//定义引脚
#define LED P1
sbit LED1 = P1^0;
sbit LED2 = P1^1;
sbit LED3 = P1^2;
sbit LED4 = P1^3;
sbit LED5 = P1^4;
sbit LED6 = P1^5;
sbit LED7 = P1^6;
sbit LED8 = P1^7;
/***********************************

************************************/
void Open_LED(char LED_num);
void Close_LED(char LED_num);
void Auto_LED(char LED_num, char ENA);

#endif